package com.qingke.service;

import java.util.List;

import com.qingke.pojo.Employee;
import com.qingke.pojo.EmployeeAccount;
import com.qingke.pojo.EmployeeJurisdiction;

public interface EmployeeService {

	Employee getEmployeeById(int employeeId);
	Employee getEmployeeeByEmployeeNumber(String employeenumber);
	Employee getEmployeeByName(String name);
	List<Employee> listEmployee();
	boolean canEmployeeLogin(String employeeNumber,String password,String name);
	boolean isEmployeeExisted(String employeeNumber);
	int softDeleteEmployee(int employeeId);
	int updateEmployeeByPrimaryKey(Employee record);
	int saveEmployee(Employee employee);
	int saveEmployeeAccount(EmployeeAccount employeeAccount);
	int updateEmployeeAccountByPrimaryKey(EmployeeAccount record);
	List<EmployeeAccount> getEmployeeAccountByPassword(String password);
    EmployeeAccount getEmployeeAccountById(int employeeAccountId);
    int saveEmployeeJurisdiction(EmployeeJurisdiction employeeJurisdiction);
    int updateEmployeeJurisdictionByPrimaryKey(EmployeeJurisdiction record);
    EmployeeJurisdiction getEmployeeJurisdictionById(int employeeJurisdictionId);
    List<EmployeeJurisdiction> listEmployeeJurisdictionByEmployeeId(int employeeId);
    EmployeeJurisdiction getEmployeeJurisdictionByEmployeeId(int employeeId);
    
}
